package main

import (
	"fmt"
)

func main12() {
	user := &User{
		Name: "A",
		Age:  18,
	}

	result := dynamicCall(user, "GetUserInfo", nil)
	userInfo := result[0].(string)
	fmt.Println(userInfo)

	result = dynamicCall(user, "UpdateNameAndAge", []interface{}{"B", 20})
	fmt.Println(result)
}
